#pragma once

#include <string>

class Sample;

class WavFile
{
public:
	WavFile(void);
	WavFile(const char* fileName, int channelCount, int rate, Sample* sample);
	~WavFile(void);

	std::string fileName;
	int channelCount;
	int rate;
	Sample* sample;

	void SaveToFile();
	static WavFile* SaveToFile(const char* fileName, int channelCount, int rate, Sample* sample);
	static WavFile* LoadFromFile(const char* fileName);
};
